package com.skyline.jfs.storage.bean;

import java.io.IOException;
import java.rmi.Remote;

import com.skyline.jfs.namespace.dao.JFSDirectoryDao;
import com.skyline.jfs.namespace.dao.JFSFileDao;
import com.skyline.jfs.storage.dao.JFSStorageDao;
import com.skyline.jfs.storage.model.JFSStreamTranBlock;

public interface Storer extends Remote {

	public void store(String key, JFSStreamTranBlock block) throws IOException, java.rmi.RemoteException;

	public void startStore(String key) throws IOException, java.rmi.RemoteException;

	public void stopStore(String key,Long virtualFileID) throws IOException, java.rmi.RemoteException;

	public JFSStorageDao getJfsStorageDao() throws java.rmi.RemoteException;

	public void setJfsStorageDao(JFSStorageDao jfsStorageDao) throws java.rmi.RemoteException;
}
